using System;
using System.IO;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using System.Reflection;

namespace Weazel.Toad.Application.Forms
{
  public partial class ChangeLogForm : Weazel.Toad.Application.Forms.DialogBaseForm
  {
    private string readLog()
    {
      Assembly a = Assembly.GetExecutingAssembly();

      Stream stream =
        a.GetManifestResourceStream("Weazel.Toad.Application.Resources.changelog.txt");

      StreamReader reader =
        new StreamReader(stream);

      return reader.ReadToEnd();
    }

    public ChangeLogForm()
    {
      InitializeComponent();
      this.richTextBox1.Text = readLog();
    }
  }
}

